@foreach($profit_list as $key=> $project)
    <dl class="Projects">
        <dd class="name" onclick="getId(this,'us')" data-id="{{$project['project_id']}}">
            {{$project['projects_name']}}
        </dd>
        <dd class="profit clear" >
            <em>收益（元）</em>
            <em>利率</em>
            <em>投资金额</em>
        </dd>
        <dd class="number clear">
            <em>{{$project['expected_return']}}&nbsp;</em>
            <em>{!!$project['rate']!!}&nbsp;</em>
            <em>{{$project['invest_money']}}&nbsp;<i>元</i></em>
        </dd>
        @if($project['status']=='rush' or $project['status']=='full' )
        <dd class="date clear">
            <em class="">投资时间</em>
            <em class="">{{$project['invest_time']}}</em>
        </dd>
        @else
        <dd class="plan clear" onclick="Myproject(this)">
            <em>还款计划</em>
            <em></em>
        </dd>
        <dd class="plan-details" id="plan-details">
            <ul>
                <li class="clear">
                    <ol>
                        <li>本金</li>
                        <li>利息</li>
                        <li>状态</li>
                        <li>还款日期</li>
                    </ol>
                    @foreach($project['list'] as $list)
                        <ol>
                            <li>{{$list->money}}</li>
                            <li>{{$list->profit}}</li>
                            <li>{{$list->status=='0'?'未还':'已还'}}</li>
                            <li>{{empty($list->pay_time)?substr($list->input_time,0,10):substr($list->pay_time,0,10)}}</li>
                        </ol>
                        @endforeach
                </li>
            </ul>
        </dd>
            @endif
    </dl>
@endforeach